package com.example.xm.service;

import com.example.xm.entity.Fenlei;
import com.example.xm.entity.Video;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IVideoService {
    void reg(Video video);

    void update(Video video);

    void delete(int[] intArray);

    PageInfo<Video> list(String name, Integer page, Integer size,Integer uid,Integer cur,Integer cid);

    Video getById(Integer id,Integer uid);

    List<Video> getTuijian(Integer uid);
}
